package com.bringway.p2p.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bringway.p2p.dao.P2pDbhkDao;
import com.bringway.p2p.service.P2pDbhkService;

import net.sf.json.JSONObject;

@Transactional
@Service
public class P2pDbhkServiceImpl implements P2pDbhkService {
	
	@Autowired
	private P2pDbhkDao p2pDbhkDao;

	@Override
	public List<Map<String, Object>> queryDbsyffList(JSONObject params) {
		return p2pDbhkDao.queryDbsyffList(params);
	}

	@Override
	public int getDbsyffCount(JSONObject params) {
		return p2pDbhkDao.getDbsyffCount(params);
	}

	@Override
	public String getDbsyffSum(JSONObject params) {
		return p2pDbhkDao.getDbsyffSum(params);
	}

}
